package com.itheima_05;

public class Student {
    private String name;
    private int age;

    public void setName(String n){
        name = n;
    }

    public String getName(){
        return name;
    }

    public void setAge(int a){
        age = a;
    }

    public int getAge(){
        return age;
    }
    public void show(){
        System.out.println(name+"今年"+age+"岁");
    }
}
